package com.syp.hehe.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.syp.hehe.domain.pojo.ArticleSchema;

public interface ArticleMapper {
	
	public int insert(ArticleSchema r);

	public int delete(Long id);

	public ArticleSchema getById(Long id);

	public List<ArticleSchema> getPageList(@Param("type") Integer type, @Param("beginIndex") Long beginIndex, @Param("pageSize") Integer pageSize);

	public Boolean hasMoreRow(@Param("type") Integer type, @Param("rowIndex") Long rowIndex);
	
}